package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * app_look_category
 * @author 
 */
@Data
@ApiModel("")
public class AppLookCategory implements Serializable {
    /**
     * 自增id
     */
    @ApiModelProperty("自增id")
    private Long id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private LocalDateTime modifyTime;

    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    private Integer hasDeleted;

    /**
     * 渠道
     */
    @ApiModelProperty("渠道")
    private String appStore;

    /**
     * 可见阀值
     */
    @ApiModelProperty("可见阀值")
    private Integer lookMoney;

    /**
     * 类型
     */
    @ApiModelProperty("类型")
    private String category;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 版本
     */
    @ApiModelProperty("版本")
    private Integer version;

    private static final long serialVersionUID = 1L;

    public boolean check(String memberAppStore,String recordCategory){
        return appStore.equals(memberAppStore)&&category.equals(recordCategory);
    }
}